package br.com.eji.drivers;
import java.io.File;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;

public class Drivers {
	
	private static final String DRIVERS_PATH = "C:/Selenium/";
	
	public static WebDriver getIE6Driver() {
		File driverFile = new File(DRIVERS_PATH + "IEDriverServer.exe");
		System.setProperty("webdriver.ie.driver", driverFile.getAbsolutePath());
		return new InternetExplorerDriver();
	}
}
